package com.ruoyi.qiuyue.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.time.LocalDateTime;

/**
 * 音乐管理对象 music_song
 * 
 * @author ruoyi
 * @date 2024-05-21
 */
public class MusicSong extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 音乐名称 */
    @Excel(name = "音乐名称")
    private String name;

    /** 音乐作者 */
    @Excel(name = "音乐作者")
    private String author;

    /** 音乐存放路径 */
    @Excel(name = "音乐存放路径")
    private String url;

    /** 分类 */
    @Excel(name = "分类")
    private String type;

    /** 封面 */
    @Excel(name = "封面")
    private String cover;

    public String getCover() {
        return cover;
    }

    public void setCover(String cover) {
        this.cover = cover;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setAuthor(String author) 
    {
        this.author = author;
    }

    public String getAuthor() 
    {
        return author;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("author", getAuthor())
            .append("url", getUrl())
            .append("type", getType())
            .toString();
    }
}
